package com.qaml.mes.device.dto.eqp;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName CheckUpkeepRecordRecheckDTO
 * @Description 检保记录复核
 * @Author leikai
 * @Date 2024/3/4 0004 12:00
 * @Version 1.0
 */
@Data
public class CheckUpkeepRecordRecheckDTO implements Serializable {

    private static final long serialVersionUID = -1573183857917407665L;
    private String id;

    /**
     * 检保记录id
     */
    @ApiModelProperty(value = "检保记录id")
    private String checkUpkeepRecordId;

    /**
     * 复核人id
     */
    @ApiModelProperty(value = "复核人id")
    private Long recheckUserId;

    /**
     * 复核人名称
     */
    @ApiModelProperty(value = "复核人名称")
    private String recheckUserName;

    /**
     * 复核时间
     */
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "复核时间")
    private Date recheckTime;

    /**
     * 复核意见
     */
    @ApiModelProperty(value = "复核意见")
    private String recheckSuggestion;

    /**
     * 租户id
     */
    @ApiModelProperty(value = "租户id")
    private Long tenantId;
}